/*
 * @Author: zhangjun 
 * @Date: 2017-06-06 15:14:44 
 * @Last Modified by:   zhangjun 
 * @Last Modified time: 2017-06-06 15:14:44 
 */
import Vue from 'vue';
import Router from 'vue-router';
import Hello from '@/components/Hello';
import home from '@/views/home';

Vue.use(Router)

export default new Router({
    routes: [{
        path: '/',
        name: '',
        redirect: '/home'
    }, {
        path: '/home',
        name: 'home',
        component: home
    }, {
        path: '/Hello',
        name: 'Hello',
        component: Hello
    }]
})